<?php defined('InShopNC') or exit('Access Invalid!');?>
<?php if (!empty($output['goods_list']) && is_array($output['goods_list'])) { ?>
<?php foreach($output['goods_list'] as $goods_info) { ?>
    <li class="item">
        <div class="list_img">
            <a href="<?php echo urlShop('goods','index',array('goods_id'=>$goods_info['goods_id'])) ?>">
                <img src="<?php echo cthumb($goods_info['goods_image'], 240, $goods_info['store_id']);?>" alt="<?php echo $goods_info['goods_name'];?>">
            </a>
        </div>
        <div class="title">
            <?php echo $goods_info['goods_name'];?>
        </div>
        <div class="price">
            <?php $goods_price = explode('.',ncPriceFormatForList($goods_info['goods_promotion_price']));?>
            ￥<span><?php echo $goods_price[0]; ?></span>.<?php echo $goods_price[1]; ?>
            <i>
                <a href="javascript:void(0);" nctype="add_cart" data-gid="<?php echo $goods_info['goods_id'];?>">
                <img src="<?php echo SHOP_TEMPLATES_URL;?>/images/newimages/ui_img2.png" alt="">
                </a>
            </i>
        </div>
    </li>
<?php } ?>
<?php } ?>
